package com.nsgf.library.data.bean;

import com.nsgf.library.data.api.APIs;
import com.nsgf.library.utils.StringUtil;

import java.io.Serializable;

public class WareHouseBean implements Serializable {

    private String id;
    private String equipsId;
    private String storeName;
    private String storeLevel;
    private String storeLevelDesc;
    private String contacts;
    private String stone;
    private String wovenBag;
    private String geotextile;
    private String ironWire;
    private String burlapBag;
    private String coloredStripedFabric;
    private String wood;
    private String stoneUnit;
    private String stoneUnitDesc;
    private String wovenBagUnit;
    private String wovenBagUnitDesc;
    private String geotextileUnit;
    private String geotextileUnitDesc;
    private String ironWireUnit;
    private String ironWireUnitDesc;
    private String burlapBagUnit;
    private String burlapBagUnitDesc;
    private String coloredStripedFabricUnit;
    private String coloredStripedFabricUnitDesc;
    private String woodUnit;
    private String woodUnitDesc;
    private String pictureUrl;
    private String location;
    private String storeAddress;
    private String contactsPhone;
    private String areaCode;
    private String coordinates;
    private int status;
    private int isDelete;
    private String createTime;
    private String createBy;
    private String updateTime;
    private String updateBy;
    private String files;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getEquipsId() {
        return equipsId;
    }

    public void setEquipsId(String equipsId) {
        this.equipsId = equipsId;
    }

    public String getStoreName() {
        return storeName;
    }

    public void setStoreName(String storeName) {
        this.storeName = storeName;
    }

    public String getStoreLevel() {
        return storeLevel;
    }

    public void setStoreLevel(String storeLevel) {
        this.storeLevel = storeLevel;
    }

    public String getStoreLevelDesc() {
        return storeLevelDesc;
    }

    public void setStoreLevelDesc(String storeLevelDesc) {
        this.storeLevelDesc = storeLevelDesc;
    }

    public String getContacts() {
        return contacts;
    }

    public void setContacts(String contacts) {
        this.contacts = contacts;
    }

    public String getStone() {
        return StringUtil.isEmpty(stone) ? "--" : stone;
    }

    public void setStone(String stone) {
        this.stone = stone;
    }

    public String getWovenBag() {
        return StringUtil.isEmpty(wovenBag) ? "--" : wovenBag;
    }

    public void setWovenBag(String wovenBag) {
        this.wovenBag = wovenBag;
    }

    public String getGeotextile() {
        return StringUtil.isEmpty(geotextile) ? "--" : geotextile;
    }

    public void setGeotextile(String geotextile) {
        this.geotextile = geotextile;
    }

    public String getIronWire() {
        return StringUtil.isEmpty(ironWire) ? "--" : ironWire;
    }

    public void setIronWire(String ironWire) {
        this.ironWire = ironWire;
    }

    public String getBurlapBag() {
        return StringUtil.isEmpty(burlapBag) ? "--" : burlapBag;
    }

    public void setBurlapBag(String burlapBag) {
        this.burlapBag = burlapBag;
    }

    public String getColoredStripedFabric() {
        return StringUtil.isEmpty(coloredStripedFabric) ? "--" : coloredStripedFabric;
    }

    public void setColoredStripedFabric(String coloredStripedFabric) {
        this.coloredStripedFabric = coloredStripedFabric;
    }

    public String getWood() {
        return StringUtil.isEmpty(wood) ? "--" : wood;
    }

    public void setWood(String wood) {
        this.wood = wood;
    }

    public String getStoneUnit() {
        return stoneUnit;
    }

    public void setStoneUnit(String stoneUnit) {
        this.stoneUnit = stoneUnit;
    }

    public String getStoneUnitDesc() {
        return stoneUnitDesc;
    }

    public void setStoneUnitDesc(String stoneUnitDesc) {
        this.stoneUnitDesc = stoneUnitDesc;
    }

    public String getWovenBagUnit() {
        return wovenBagUnit;
    }

    public void setWovenBagUnit(String wovenBagUnit) {
        this.wovenBagUnit = wovenBagUnit;
    }

    public String getWovenBagUnitDesc() {
        return wovenBagUnitDesc;
    }

    public void setWovenBagUnitDesc(String wovenBagUnitDesc) {
        this.wovenBagUnitDesc = wovenBagUnitDesc;
    }

    public String getGeotextileUnit() {
        return geotextileUnit;
    }

    public void setGeotextileUnit(String geotextileUnit) {
        this.geotextileUnit = geotextileUnit;
    }

    public String getGeotextileUnitDesc() {
        return geotextileUnitDesc;
    }

    public void setGeotextileUnitDesc(String geotextileUnitDesc) {
        this.geotextileUnitDesc = geotextileUnitDesc;
    }

    public String getIronWireUnit() {
        return ironWireUnit;
    }

    public void setIronWireUnit(String ironWireUnit) {
        this.ironWireUnit = ironWireUnit;
    }

    public String getIronWireUnitDesc() {
        return ironWireUnitDesc;
    }

    public void setIronWireUnitDesc(String ironWireUnitDesc) {
        this.ironWireUnitDesc = ironWireUnitDesc;
    }

    public String getBurlapBagUnit() {
        return burlapBagUnit;
    }

    public void setBurlapBagUnit(String burlapBagUnit) {
        this.burlapBagUnit = burlapBagUnit;
    }

    public String getBurlapBagUnitDesc() {
        return burlapBagUnitDesc;
    }

    public void setBurlapBagUnitDesc(String burlapBagUnitDesc) {
        this.burlapBagUnitDesc = burlapBagUnitDesc;
    }

    public String getColoredStripedFabricUnit() {
        return coloredStripedFabricUnit;
    }

    public void setColoredStripedFabricUnit(String coloredStripedFabricUnit) {
        this.coloredStripedFabricUnit = coloredStripedFabricUnit;
    }

    public String getColoredStripedFabricUnitDesc() {
        return coloredStripedFabricUnitDesc;
    }

    public void setColoredStripedFabricUnitDesc(String coloredStripedFabricUnitDesc) {
        this.coloredStripedFabricUnitDesc = coloredStripedFabricUnitDesc;
    }

    public String getWoodUnit() {
        return woodUnit;
    }

    public void setWoodUnit(String woodUnit) {
        this.woodUnit = woodUnit;
    }

    public String getWoodUnitDesc() {
        return woodUnitDesc;
    }

    public void setWoodUnitDesc(String woodUnitDesc) {
        this.woodUnitDesc = woodUnitDesc;
    }

    public String getPictureUrl() {
        return pictureUrl;
    }

    public String getPictureUrlSrc() {
        if (StringUtil.isEmpty(getPictureUrl()))
            return "";
        else {
            String[] src = getPictureUrl().split(",");
            if (src.length > 0) {
                return APIs.BASE_URL_IMG+src[0];
            }
            return "";
        }
    }

    public void setPictureUrl(String pictureUrl) {
        this.pictureUrl = pictureUrl;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public String getStoreAddress() {
        return storeAddress;
    }

    public void setStoreAddress(String storeAddress) {
        this.storeAddress = storeAddress;
    }

    public String getContactsPhone() {
        return contactsPhone;
    }

    public void setContactsPhone(String contactsPhone) {
        this.contactsPhone = contactsPhone;
    }

    public String getAreaCode() {
        return areaCode;
    }

    public void setAreaCode(String areaCode) {
        this.areaCode = areaCode;
    }

    public String getCoordinates() {
        return coordinates;
    }

    public void setCoordinates(String coordinates) {
        this.coordinates = coordinates;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public int getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(int isDelete) {
        this.isDelete = isDelete;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public String getFiles() {
        return files;
    }

    public void setFiles(String files) {
        this.files = files;
    }
}
